Skip to content

Conversation

@jurevreca12
Copy link
Collaborator

Updates the RemoveIdentityOps in src/qonnx/transformation/remove.py to also remove onnx.Identity nodes. These nodes are left in the onnx graph by the QKeras-to-ONNX converter. However they are defined essentially as "passthrough" nodes, that do not perform any computation but just forward the tensor along.

This PR follows PR: Is tensor representable #136. After it is merged into main the only change will be additional 4 lines in remove.py.

@maltanar
Copy link
Collaborator

maltanar commented Sep 12, 2024

I've cherry picked the commit 3eddb38 making the key changes for this PR and merged as part of #87. Thanks @jurevreca12 !

@maltanar maltanar closed this Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants